package com.ywb.edugui.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * VO，业务层数据传递将数据库中的Subject封装为 FirstSubject包含SecondSubject的关系
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FirstSubject {
    private String id;
    private String title;
    private List<SecondSubject> children;
}
